package com.theta.gateway.infra.client.sso;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import com.google.common.collect.Maps;
import com.theta.gateway.infra.client.sso.constant.SsoClientConstant;
import com.theta.gateway.infra.common.config.NacosConstantConfig;
import com.theta.gateway.infra.common.exception.BusinessException;
import com.theta.gateway.infra.common.utils.JsonUtil;
import lombok.extern.slf4j.Slf4j;



@Slf4j
@Component
public class SsoAuthenticationClient {

//	@Lazy
//	@Autowired
//	private SsoAuthenticateFeign ssoAuthenticateFeign;
	
	@Autowired
	private NacosConstantConfig nacosConstantConfig;
	
	
	/**
	 * 验证用户登陆token的有效性
	 * @param authentication
	 * @return
	 */
	public boolean validateAuthentication(String authentication){
		//token校验start
		//调用sso校验接口
		
		//token校验吗end
		return true;
		
	}

}
